package com.xinqi.modules.file.course.courseware.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.xinqi.common.mybatis.data.entity.BaseEntity;
import lombok.Getter;
import lombok.Setter;

/**
 * 课程资料库主表实体层
 * @author: dzy
 * @date: 2023/7/1
 */
@Setter
@Getter
@TableName("co_course_resource_base_log")
public class CourseResourceBaseLogEntity extends BaseEntity {

    /**
     * 班级ID
     */
    @TableField(value = "class_id")
    private Long classId;

    /**
     * 课程内容Id
     */
    @TableField(value = "content_id")
    private Long contentId;

    /**
     * 课程内容类型
     */
    @TableField(value = "content_type")
    private Integer contentType;

    /**
     * 学生Id
     */
    @TableField(value = "student_id")
    private Long studentId;

    /**
     * 是否已读
     */
    @TableField(value = "is_read")
    private Integer isRead;

    /**
     * 学习状态
     */
    @TableField(value = "study_status")
    private Integer studyStatus;

    /**
     * 学生得分
     */
    @TableField(value = "student_score")
    private Integer studentScore;

    /**
     * 额外字段
     */
    @TableField(value = "extra")
    private String extra;

}

